package com.outsource.framework.util.common.seriallizer;

import java.io.IOException;

import org.codehaus.jackson.JsonParser;
import org.codehaus.jackson.JsonProcessingException;
import org.codehaus.jackson.map.DeserializationContext;
import org.codehaus.jackson.map.JsonDeserializer;

import com.outsource.framework.util.common.GodGenerator;

public class CustomUniCodeDeSerializer extends JsonDeserializer<String> {

	@Override
	public String deserialize(JsonParser arg0, DeserializationContext arg1)
			throws IOException, JsonProcessingException {
		// TODO Auto-generated method stub
		return GodGenerator.UnicodetoString(arg0.getText());
	}

}
